package com.sia.springcloud.protocol;

import com.sia.springcloud.model.Device;
import com.sia.springcloud.model.Point;
import org.springframework.stereotype.Component;

/**
 * @Author: Sirius
 * @Date: 2022/1/2 13:17
 * @Description:
 **/
@Component
public interface IProtocol {

    String read(Device device, Point point) throws Exception;

    Boolean write(Device device, Point point) throws Exception;

}
